package com.sims.dao;

import java.util.List;

import com.sims.bean.Post;

public interface IPostDAO {

	public abstract void save(Post transientInstance);

	public abstract void delete(Post persistentInstance);

	public abstract Post findById(java.lang.Integer id);

	public abstract List findByExample(Post instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByThid(Object thid);

	public abstract List findByIsTheme(Object isTheme);

	public abstract List findByAuthor(Object author);

	public abstract List findByTitle(Object title);

	public abstract List findByAuthorId(Object authorId);

	public abstract List findByBody(Object body);

	public abstract List findByAuthorIdentity(Object authorIdentity);
	
	public abstract List findByTime(Object stime);

	public abstract List findAll();

	public abstract Post merge(Post detachedInstance);

	public abstract void attachDirty(Post instance);

	public abstract void attachClean(Post instance);

}